package com.rms.hr.service;

import java.util.List;

import com.rms.hr.model.User;

/**
 * @author lgw0822
 *
 */
public interface UserService {
	
	public List<User> getAllUser();

	public int creatUser(User user);
	
	public User selectByPrimaryKey(Integer id);
	
	public int updateUser(User user);
	
	public void deleteUserById(Integer id);
	
	/**
	 * 管理员登录
	 * @return
	 */
	public User findUserForLogin(User user);
}
